{
    "error": "<?php echo $error ?>",
    "content": <?php echo json_encode(get_partial('day_interval_add_form', array('form' => $form))) ?>
}